def annee_chgt():
    n=0
    p=10000
    S=10000
    while ...:
        p=1.05*p
        S= ...
        n= ...
    return 2015+n